package com.gc.business.mapper;

import com.gc.business.domain.ElevatorInfo;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 电梯 数据层
 * 
 * @author liujinteng
 * @date 2020-11-13
 */
public interface ElevatorInfoMapper extends BaseMapper<ElevatorInfo> {

    /**
     * 根据小区ID查询归属的电梯列表
     * @param commityId
     * @return
     */
    public List<ElevatorInfo> selectListByCommityId(Long commityId);


    public Integer findNeighElevatorNum(@Param("latitude") String latitude, @Param("longitude")String longitude, @Param("distance")String distance);
}